package com.yunxin.core.domain.service.channel;

import com.yunxin.core.domain.model.channel.ChannelPromotion;
import com.yunxin.core.domain.model.channel.ChannelPromotionBasicInfo;

/**
 * @author zero°
 * @since 2023-05-30
 */
public interface ChannelPromotionService {

    /**
     * 新增渠道推广基础信息
     * @param channelPromotion channelPromotion
     * @param basicInfo basicInfo
     * @return channelPromotionId
     */
    Long addChannelPromotionBasicInfo(ChannelPromotion channelPromotion, ChannelPromotionBasicInfo basicInfo);

    /**
     * 更新渠道推广基础信息
     * @param channelPromotion channelPromotion
     * @param basicInfo basicInfo
     * @return channelPromotionId
     */
    boolean updateChannelPromotionBasicInfo(ChannelPromotion channelPromotion, ChannelPromotionBasicInfo basicInfo);


}
